package com.kimho.inhouse.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 *
 */
public class Inhouse implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String object_id; 
	private String obj_name; 
	private String from_addr; 
	private String from_name; 
	private String from_tell; 
	private String obj_num; 
	private String to_addr; 
	private String to_tell; 
	private String to_name; 
	private String brief; 
	private String ppice; 
	private double price;
	private Date op_time;
	private double traff_fee;
	private double mid_fee;
	private double oth_fee;
	private double inst_fee;
	private String objid;
	private double saf_fee;
	private String over;
	private String staff_id;
	private String staff_name;
	private String cost_type;
	private String send_type;
	private String in_cmp;//货物入库物流部
	private String to_cmp;//货物收获物流部
	public String getIn_cmp() {
		return in_cmp;
	}
	public void setIn_cmp(String inCmp) {
		in_cmp = inCmp;
	}
	public String getTo_cmp() {
		return to_cmp;
	}
	public void setTo_cmp(String toCmp) {
		to_cmp = toCmp;
	}
	public String getSend_type() {
		if("1".equals(send_type))
		{
			return "自提";
		}
		else
		{
			return "送货上门";
		}
	}
	public void setSend_type(String send_type) {
		this.send_type = send_type;
	}
	public String getCost_type() {
		return cost_type;
	}
	public void setCost_type(String costType) {
		cost_type = costType;
	}
	private String transitf;
	private String transit_id;
	private double pre_fee;
	
	public String getOver() {
		return over;
	}
	public void setOver(String over) {
		this.over = over;
	}
	public double getPre_fee() {
		return pre_fee;
	}
	public void setPre_fee(double pre_fee) {
		this.pre_fee = pre_fee;
	}
	public String getTransitf() {
		return transitf;
	}
	public void setTransitf(String transitf) {
		this.transitf = transitf;
	}
	public String getTransit_id() {
		return transit_id;
	}
	public void setTransit_id(String transit_id) {
		this.transit_id = transit_id;
	}
	public String getObj_name() {
		return obj_name;
	}
	public void setObj_name(String obj_name) {
		this.obj_name = obj_name;
	}
	public String getObj_num() {
		return obj_num;
	}
	public void setObj_num(String obj_num) {
		this.obj_num = obj_num;
	}
	public String getStaff_name() {
		return staff_name;
	}
	public void setStaff_name(String staff_name) {
		this.staff_name = staff_name;
	}
	public double getSum_fee() {
		return saf_fee+inst_fee+mid_fee+oth_fee+traff_fee+pre_fee;
	}
	public String getStaff_id() {
		return staff_id;
	}
	public void setStaff_id(String staff_id) {
		this.staff_id = staff_id;
	}
	public double getSaf_fee() {
		return saf_fee;
	}
	public void setSaf_fee(double saf_fee) {
		this.saf_fee = saf_fee;
	}
	public String getObjid() {
		return objid;
	}
	public void setObjid(String objid) {
		this.objid = objid;
	}
	public double getTraff_fee() {
		return traff_fee;
	}
	public void setTraff_fee(double traff_fee) {
		this.traff_fee = traff_fee;
	}
	public double getMid_fee() {
		return mid_fee;
	}
	public void setMid_fee(double mid_fee) {
		this.mid_fee = mid_fee;
	}
	public double getOth_fee() {
		return oth_fee;
	}
	public void setOth_fee(double oth_fee) {
		this.oth_fee = oth_fee;
	}
	public double getInst_fee() {
		return inst_fee;
	}
	public void setInst_fee(double inst_fee) {
		this.inst_fee = inst_fee;
	}
	public Date getOp_time() {
		return op_time;
	}
	public void setOp_time(Date op_time) {
		this.op_time = op_time;
	}
	public String getObject_id() {
		return object_id;
	}
	public void setObject_id(String object_id) {
		this.object_id = object_id;
	}
	public String getFrom_addr() {
		return from_addr;
	}
	public void setFrom_addr(String from_addr) {
		this.from_addr = from_addr;
	}
	public String getFrom_name() {
		return from_name;
	}
	public void setFrom_name(String from_name) {
		this.from_name = from_name;
	}
	public String getFrom_tell() {
		return from_tell;
	}
	public void setFrom_tell(String from_tell) {
		this.from_tell = from_tell;
	}
	public String getTo_addr() {
		return to_addr;
	}
	public void setTo_addr(String to_addr) {
		this.to_addr = to_addr;
	}
	public String getTo_tell() {
		return to_tell;
	}
	public void setTo_tell(String to_tell) {
		this.to_tell = to_tell;
	}
	public String getTo_name() {
		return to_name;
	}
	public void setTo_name(String to_name) {
		this.to_name = to_name;
	}
	public String getBrief() {
		return brief;
	}
	public void setBrief(String brief) {
		this.brief = brief;
	}
	public String getPpice() {
		return ppice;
	}
	public void setPpice(String ppice) {
		this.ppice = ppice;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	} 

}
